package laf.agents;

import jade.core.Agent;
import laf.behaviours.TickerBehaviour;
import laf.time.TimeManager;

public class TimeTestAgent extends Agent {
	
	public void setup() {
		TimeManager.getInstance().start();
		addBehaviour(new TickerBehaviour(this, 1, 0) {

			@Override
			protected void onTick() {
				System.out.println("PR0");
				
			}});
		addBehaviour(new TickerBehaviour(this, 1, 1) {

			@Override
			protected void onTick() {
				System.out.println("PR1");
				
			}});
		addBehaviour(new TickerBehaviour(this, 1, 2) {

			@Override
			protected void onTick() {
				System.out.println("PR2");
				
			}});
	}

}
